// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsAdvancePayDao;
import com.liuxinlong.modules.entity.AssetsAdvancePay;
import com.liuxinlong.modules.mapper.AssetsAdvancePayMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsAdvancePayDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年12月13日
 */
@Service
public class AssetsAdvancePayDaoImpl extends ServiceImpl<AssetsAdvancePayMapper, AssetsAdvancePay> implements AssetsAdvancePayDao {

    @Override
    public List<AssetsAdvancePay> pageAssetsAdvancePayInfo(Map<String, Object> queryParam) {
        return baseMapper.pageAssetsAdvancePayInfo(queryParam);
    }

    @Override
    public int getAssetsAdvancePayInfoCount(Map<String, Object> queryParam) {
        return baseMapper.getAssetsAdvancePayInfoCount(queryParam);
    }

    @Override
    public List<AssetsAdvancePay> getEffectiveAdvancePayList(List<String> costList) {
        return baseMapper.getEffectiveAdvancePayList(costList);
    }

    @Override
    public void updateAssetIdByNo(String assetsNo, String assetsId) {

    }

    @Override
    public void updateStatusById(List<String> idList, String operateUser, String operateTime) {
        baseMapper.updateStatusById(idList,operateUser,operateTime);
    }

    @Override
    public List<AssetsAdvancePay> getEffectiveList() {
        return baseMapper.getEffectiveList();
    }

}
